package com.itheima.petstoresystem;

public class Test {
   // private static Object PetType;

    public static void main(String[] args) {
        Pet pet = new Pet();

        new Pet() {
            @Override
            public void getAnimal(PetType petType) {
                super.getAnimal(petType);
            }
        }.getAnimal(PetType.CAT);
    }
}

